package sp.user;

public class testPassword {

	
	public static void main(String[] args) {
	/*	String salt = new SecureRandomNumberGenerator().nextBytes().toHex();
		SimpleHash hash = new SimpleHash("SHA-512", "lkg", "458028166@qq.com"+salt, 3);
		String password = hash.toHex();
		System.out.println(salt);
		System.out.println(password);*/
		
		String str = "/upload/sp_book/1.jpg";
		System.out.println(str.substring(0, str.lastIndexOf("/")));
	}
	
	
}
